﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace StandardManager.Config
{
    public partial class ConfigForm1 : Form
    {
        public ConfigForm1()
        {
            InitializeComponent();
        }

        private void ConfigForm1_Load(object sender, EventArgs e)
        {
            this.propertyGrid1.SelectedObject = GlobalConfig.Instance;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            GlobalConfig.Instance.Save();
            MessageBox.Show("保存成功.");
                this.Close();
        }
    }
}
